package error

// error code
const (
	ResultSuccess         = "000000" //请求成功
	ParamsErrorCode       = "000001" //参数错误
	TokenExpired          = "000002" //jwt token 过期
	TokenInvalid          = "000003" //jwt token 不可用
	MidddleErrorCode      = "000004" //中间件错误
	DataEmptyErrorCode    = "000005" //redis空错误
	JsonUnmashalErrorCode = "000006" //json解析失败
	IllegalParam          = "000007" //非法参数
	RecordExists          = "000008" //记录已存在

	ServerErrorCode = "50000" //mysql,redis,网络通信的错误
)
